package animator.phantom.renderer.parent;

/*
    Copyright Janne Liljeblad

    This file is part of Phantom2D.

    Phantom2D is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    Phantom2D is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with Phantom2D.  If not, see <http://www.gnu.org/licenses/>.
*/

import animator.phantom.renderer.param.*;
import animator.phantom.renderer.ImageOperation;

//--- This is a version of AnimCoords3D tbat has only key frames at 0 frame 
//--- and values to it MUST be set in frame 0.
//--- Used to create temporary values when rendering iops with parents.
public class TransformClone3D extends AnimCoords3D
{
	//--- AnimatedImageCoordinates with given values.
	public TransformClone3D( ImageOperation iop,
				float Fx,
				float Fy,
				float Fz,
				float FxScale,
				float FyScale,
				float FzScale,
				float FxAnchor,
				float FyAnchor,
				float FzAnchor,
				float FxRot,
				float FyRot,
				float FzRot )
	{
		super( 	iop,
			Fx,
			Fy,
			Fz,
			FxScale,
			FyScale,
			FzScale,
			FxAnchor,
			FyAnchor,
			FzAnchor,
			FxRot,
			FyRot,
			FzRot );

		IS_TRANSFORM_CLONE = true;
		setAllValuesTypeFreeSet();
	}

}//end class
